export function useExpose(comRef) {
	return new Proxy(
		{},
		{
			get(target, key) {
				if (!['open', 'close'].includes(key)) return
				return comRef.value?.[key]
			},
			has(target, key) {
				if (!['open', 'close'].includes(key)) return
				return comRef.value && key in comRef.value
			}
		}
	)
}
